Class Snappy

Summary

Fully Qualified Name: Laminas\Filter\Compress\Snappy
Implements: CompressionAlgorithmInterface

Description

Compression adapter for php snappy (http://code.google.com/p/php-snappy/)

Methods

Name Description Defined By
__construct() Class constructor Snappy
compress() Compresses the given content Snappy
decompress() Decompresses the given content Snappy
toString() Returns the adapter name Snappy

Method Details

__construct()

Class constructor

Parameter Name Type Description
$options null|array|\Traversable (Optional)

Returns:

compress()

Compresses the given content

Parameter Name Type Description
$content string

Returns: string

decompress()

Decompresses the given content

Parameter Name Type Description
$content string

Returns: string

toString()

Returns the adapter name

Returns: string

Top